package jdbc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

/**
 * Created by Administrator on 2017/9/11.
 */
public class InsertTest {
    public static void main(String[] args) throws ClassNotFoundException, SQLException {
        Connection conn=Connectioan.Connecti();
        Statement statement=conn.createStatement();
        String sql="insert into tablename2(uid,username,password) values('10','ming','88')";
        statement.executeUpdate(sql);
    }

}
